﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterAdmin.Master" AutoEventWireup="true" CodeBehind="ThemDonHang.aspx.cs" Inherits="EC21_EDiamond.ThemDonHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td colspan="2" class="text-center" style="font-size: xx-large; color: #0000FF"><strong>QUẢN LÝ ĐƠN HÀNG</strong></td>
        </tr>
        <tr> 
            <td style="width: 405px; text-align: right; height: 96px;" class="text-right">Ngày lập:</td>
            <td style="height: 96px">
                <asp:Calendar ID="CalendarNgayLap" runat="server" Height="183px"></asp:Calendar>
            </td>
        </tr>
         <tr> 
            <td style="width: 405px; text-align: right; height: 96px;" class="text-right">Ngày giao:</td>
            <td style="height: 96px">
                <asp:Calendar ID="CalendarNgayGiao" runat="server" Height="183px"></asp:Calendar>
            </td>
        </tr> 

        <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Tên Khách Hàng:</td>
            <td>
                <asp:TextBox ID="txtTenKhachHang" runat="server" Width="170px" placeholder="Tên Khách Hàng"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtTenKhachHang" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Địa chỉ: </td>
            <td>
                <asp:TextBox ID="txtDiaChi" runat="server" Width="170px" placeholder="Địa chỉ"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtDiaChi" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>

         <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Điện thoại: </td>
            <td>
                <asp:TextBox ID="txtDienThoai" runat="server" Width="170px" placeholder="Điện thoại"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtDienThoai" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>   
          <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Email: </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="170px" placeholder="Email"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtEmail" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>

          <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Tình trạng: </td>
            <td>
                <asp:TextBox ID="txtTinhTrang" runat="server" Width="170px" placeholder="Tình trạng"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtTinhTrang" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Trạng thái:  </td>
            <td>
                <asp:TextBox ID="txtTrangThai" runat="server" Width="170px" placeholder="Trạng thái"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtTrangThai" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
         <tr>
            <td style="width: 405px; text-align: right;" class="text-right">Tổng tiền:  </td>
            <td>
                <asp:TextBox ID="txtTongTien" runat="server" Width="170px" placeholder="Tổng tiền"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtTongTien" ErrorMessage="Không để trống!" style="color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>

         <tr>
            <td style="width: 405px; text-align: right; height: 26px;" class="text-right">Công ty vận chuyển:</td>
            <td style="height: 26px">
                <asp:DropDownList ID="drpCongTyVanChuyen" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 405px; text-align: right; height: 26px;" class="text-right">Hình thức giao:</td>
            <td style="height: 26px">
                <asp:DropDownList ID="drpHinhThucGiao" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
         <tr>
            <td style="width: 405px; text-align: right; height: 26px;" class="text-right">Khách hàng:</td>
            <td style="height: 26px">
                <asp:DropDownList ID="drpKhachHang" runat="server">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnDongY" runat="server" Text="Thêm" Width="80px" OnClick="btnDongY_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
